// 通用配置
const CommonConfig = {
    App: process.env.VUE_APP_TYPE,
    appCode: process.env.VUE_APP_TYPE == "customer" ? "MERAPP" : "AGNAPP", // 区分是商户还是服务商 MERAPP:商户APP，AGNAPP:服务商APP
    appVersion: "1.0",
    channelId: "1001" // 易点收
};

// 开发环境
const DevConfig = {
    HttpHost: "http://47.102.206.237:80/sunbanke/api/", // http://47.102.206.237:80
    ...CommonConfig
};

// 生产环境
const ProdConfig = {
    HttpHost: "http://0.0.0.0:80/",
    ...CommonConfig
};

export default process.env.STAGE == "prod" ? ProdConfig : DevConfig;
